func runtime.cheaprandn
10 uses
runtime (current package)
lock_spinbit.go#L351: antiStarve := cheaprandn(mutexTailWakePeriod) == 0
malloc.go#L2272: q := cheaprandn(1<<randomBitCount) + 1
mgcpacer.go#L736: id := int32(cheaprandn(uint32(gomaxprocs - 1)))
mprof.go#L655: if cheaprandn(gTrackingPeriod) == 0 {
os_linux.go#L680: spec.it_value.setNsec(1 + int64(cheaprandn(uint32(1e9/hz))))
proc.go#L7594: j := cheaprandn(i + 1)
proc.go#L7635: j := cheaprandn(i + 1)
rand.go#L319: func cheaprandn(n uint32) uint32 {
select.go#L191: j := cheaprandn(uint32(norder + 1))
symtab.go#L1103: ci := cheaprandn(uint32(len(cache.entries[ck])))
The pages are generated with Golds v0.8.4. (GOOS=linux GOARCH=amd64)